home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / program / winsql.zip / README.DOC < prev   
Text File  |  1991-06-02  |  11KB  |  236 lines

  1.           General Information                                Page 1 of 4
  2.  
  3.  
  4.                               Orion SQL For Windows
  5.  
  6.                              Release 1.0 - June 1991
  7.  
  8.  
  9.                                GENERAL INFORMATION
  10.  
  11.  
  12.                      Copyright (c) 1991 by Stellar Industries
  13.                                All Rights Reserved
  14.  
  15.  
  16.                      Unpacking and Installation Instructions
  17.  
  18.  
  19.           Orion SQL For Windows is provided as a single compressed file.
  20.           (WINSQL.ZIP).  The contents of WINSQL.ZIP are defined in the
  21.           included PACKING.LST file.  In order to properly install SQL
  22.           For Windows on your computer you will need to perform the
  23.           following steps:
  24.  
  25.           1)   Move DBA.EXE, DBA.HLP, QE.EXE and QE.HLP to the directory
  26.                in which you keep windows programs.  This is usually the
  27.                'c:\windows' directory.
  28.  
  29.           2)   Make two new directories.  One will be for the Orion
  30.                Database Administrator's files (we recommend naming it
  31.                'database'), the other will be for your queries and data
  32.                (we recommend naming it 'data').  You can use the MS-DOS
  33.                'mkdir' command to do this.
  34.  
  35.           3)   Unpack EXAMPLES.ZIP (contained within WINSQL.ZIP).  This
  36.                file contains both sample queries and an import file to
  37.                load some sample data into the database.  We recommend
  38.                putting these files in your 'data' directory.
  39.  
  40.           4)   Use your favorite editor (NOTEPAD.EXE will suffice) to
  41.                modify the windows initialization file WIN.INI.  This
  42.                file can usually be found in the 'c:\windows' directory.
  43.                Add the following lines:
  44.  
  45.                     [OrionDba]
  46.                     AutoStart=0
  47.                     DatabasePath=c:\database
  48.                     DataFilePath=c:\data
  49.                     FileNameDatabaseDump=c:\temp\orion.dmp
  50.                     Suspend=0
  51.  
  52.                     [OrionQe]
  53.                     Acknowledge=1
  54.                     AutoStart=0
  55.                     DataFilePath=c:\data
  56.                     OpenNew=0
  57.                     UserName=SYSTEM
  58.                     UserPassword=ORION
  59.                     WarnOnClose=1           General Information                                Page 2 of 4
  60.  
  61.  
  62.                As DBA.EXE and QE.EXE automatically add some of these
  63.                lines if they do not already exist, be sure you are not
  64.                adding duplicate entries.  If you edit WIN.INI before
  65.                running DBA.EXE or QE.EXE you don't have to worry.
  66.  
  67.                These entries have the following meanings:
  68.  
  69.                [OrionDba]          Identifies a block of entries as
  70.                                    belonging to the Orion Database
  71.                                    Administrator.
  72.  
  73.                AutoStart           Set to '0' or '1'. When set to '1'
  74.                                    causes the Orion Database
  75.                                    Administrator to automatically start
  76.                                    the database as soon as you start the
  77.                                    program.
  78.  
  79.                DatabasePath        Set to the path you want the database
  80.                                    files to reside in.  Make sure to
  81.                                    create this directory before starting
  82.                                    the Orion Database Administrator.  We
  83.                                    recommend naming it 'database'.
  84.  
  85.                DatafilePath        Set to the path you want to use as
  86.                                    the default for import and export
  87.                                    operations.  We recommend naming it
  88.                                    'data'.
  89.  
  90.                FileNameDatabaseDump Set to the full file name of the
  91.                                    file you want the Orion Database
  92.                                    Administrator to use for the 'dump'
  93.                                    operation.
  94.  
  95.                Suspend             Set to '0'.
  96.  
  97.                [OrionQe]           Identifies a block of entries as
  98.                                    belonging to the Orion Query Editor.
  99.  
  100.                Acknowledge         Set to '0' or '1'. When set to '1'
  101.                                    causes the Orion Query Editor to
  102.                                    display an informational dialog box
  103.                                    every time a query completes.
  104.  
  105.                AutoStart           Set to '0' or '1'. When set to '1'
  106.                                    causes the Orion Query Editor to
  107.                                    automatically start the Orion
  108.                                    Database Administrator if it is not
  109.                                    already running.
  110.  
  111.                DataFilePath        Set to the path you want to use as
  112.                                    the default for file operations.  We
  113.                                    recommend naming it 'data'.
  114.  
  115.                OpenNew             Set to '0' or '1'. When set to '1'
  116.                                    causes the Orion Query Editor to
  117.                                    automatically create a new 'pad' when
  118.                                    the Query Editor first starts.           General Information                                Page 3 of 4
  119.  
  120.  
  121.                UserName            Set to 'SYSTEM'.  This identifies the
  122.                                    default user name.
  123.  
  124.                UserPassword        Set to 'ORION'.  This identifies the
  125.                                    default user password.
  126.  
  127.                WarnOnClose         Set to '0' or '1'. When set to '1'
  128.                                    causes the Orion Query Editor to
  129.                                    prompt the user for a file name
  130.                                    before closing a pad which contains
  131.                                    text not yet saved to disk.
  132.  
  133.                SQL For Windows also relies upon the international date
  134.                and time settings.  The Windows defaults are fine and you
  135.                can leave them alone.  If you've changed them, don't
  136.                worry, time stamps are saved in binary and not converted
  137.                to international format until used for output.  If you're
  138.                interested, we recommend the following settings:
  139.  
  140.                     [intl]
  141.                     iDate=0
  142.                     iTime=0
  143.                     s1159=AM
  144.                     s2359=PM
  145.  
  146.                International date and time settings are most easily
  147.                changed via Microsoft's Windows Control Panel.  Select
  148.                the "International" icon then click on either "date" or
  149.                "time".
  150.  
  151.           5)   Use Microsoft's Program Manager to create a new program
  152.                group:
  153.  
  154.                a) select 'File', 'New'
  155.  
  156.                b) select 'Program Group', 'OK'
  157.  
  158.                c) Enter description: 'Orion', group file: 'ORION'
  159.  
  160.                d) select 'OK'
  161.  
  162.           6)   Use Microsoft's Program Manager to create two new program
  163.                items:
  164.  
  165.                a) select 'File', 'New'
  166.  
  167.                b) select Program Item, 'OK'
  168.  
  169.                c) Enter description: 'Dba', command line: 'DBA.EXE'
  170.  
  171.                d) select 'OK'
  172.  
  173.                e) select 'File', 'New'
  174.  
  175.                f) select Program Item, 'OK'
  176.  
  177.                g) Enter description: 'Qe', command line: 'QE.EXE'           General Information                                Page 4 of 4
  178.  
  179.  
  180.                h) select 'OK'
  181.  
  182.           7)   Start the Orion Database Administrator by clicking on the
  183.                'Dba' Icon in the Microsoft Program Manager.  When the
  184.                Orion Database Administrator's window appears select
  185.                'Toolbox' from its menu.  Select the 'Install' entry,
  186.                this will install the database in the directory
  187.                identified by the 'DatabasePath' setting described above.
  188.  
  189.           8)   You may now exit ('Exit' is in the 'File' menu) the Orion
  190.                Database Administrator.  SQL For Windows is completely
  191.                installed.
  192.  
  193.                                      Examples
  194.  
  195.  
  196.           You will probably want to run our examples to familiarize
  197.           yourself with the operation of SQL For Windows.
  198.  
  199.           1)   Start the Orion Database Administrator by clicking on the
  200.                'Dba' Icon in the Microsoft Program Manager.  When the
  201.                Orion Database Administrator's window appears select
  202.                'Control' from its menu.  Select the 'Start' entry, this
  203.                will start the database.
  204.  
  205.           2)   Start the Orion Query Editor by clicking on the 'Qe' icon
  206.                in the Microsoft Program Manager.  When the Orion Query
  207.                Editor's window appears select 'File' from its menu.  Now
  208.                select the 'Open' entry and open the file CREATE.SQL.
  209.                This is one of the files contained in EXAMPLES.ZIP.  When
  210.                its text appears in a pad select the menu commands
  211.                'Database', 'Execute' (or hit control/x).  This query
  212.                creates the tables of the example database.
  213.  
  214.           3)   Now go to the Orion Database Administrator and select the
  215.                menu commands 'File', 'Import'.  Select the file
  216.                EXAMPLE.DAT.  This is one of the files contained in
  217.                EXAMPLES.ZIP.  The 'Import' loads the data in EXAMPLE.DAT
  218.                into the tables you created with CREATE.SQL.
  219.  
  220.           4)   You can now execute any of the sample queries contained
  221.                in EXAMPLES.ZIP.  Go to the Orion Query Editor, open a
  222.                file (for example QUERY01.SQL) and execute it.  Files
  223.                which contain select statements will cause the Orion
  224.                Query Editor to open a new pad and place the data as text
  225.                into the new pad.  You may then edit the data and/or save
  226.                it to a file using the 'File', 'Save As' commands.
  227.  
  228.           5)   To remove the sample data from the database just execute
  229.                the SQL 'drop table' statements in the DROP.SQL file.
  230.  
  231.           6)   You are now ready to write your own SQL statements and
  232.                create your own database.
  233.  
  234.           Stellar Industries:      (714) 861-7885
  235.                                    3335 S. Falcon Ridge Road
  236.                                    Diamond Bar, CA  91765